<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>欢迎使用网站后台管理系统</title>
    <link href="assets/javaex/pc/css/icomoon.css" rel="stylesheet" />
    <link href="assets/javaex/pc/css/animate.css" rel="stylesheet" />
    <link href="assets/javaex/pc/css/common.css" rel="stylesheet" />
    <link href="assets/javaex/pc/css/skin/default.css" rel="stylesheet" />
</head>
<!---->
<body>
    <div class="javaex-navbar">
        <div class="javaex-container-fluid clear">
            <div class="javaex-logo">网站后台管理系统</div>
            <ul class="javaex-nav fl"></ul>
            <ul class="javaex-nav fr">
                <li>
                    <a href="javascript:;">欢迎您&nbsp;<span id="adminname"></span>&nbsp;您的角色&nbsp;<span id="role"></span></a>
                    <ul class="javaex-nav-dropdown-menu" style="right: 10px;">
                        <li><a href="javascript:;" id="editpwd" title="修改密码">修改密码</a></li>
                        <li><a href="javascript:;" id="exit" title="退出">退出</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <div class="javaex-main-container">
        <!--左侧菜单-->
        <div class="javaex-aside javaex-aside-fixed">
            <h1><span class="javaex-nav-name">管理菜单</span></h1>
            <div id="javaex-toc" class="javaex-toc">
                <div class="javaex-menu-container">
                    <div id="menu" class="javaex-menu">
                        <ul>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">管理员信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listadmin.html');">管理员信息列表</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">提示问题信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listasks.html');">提示问题信息列表</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">商家信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listseller.html');">商家信息列表</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">网站用户信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listusers.html');">网站用户信息列表</a>
                                    </li>
                                    <li>
                                        <a href="javascript:page('chartusers.html');">网站用户注册统计</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">新闻公告信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listarticle.html');">新闻公告信息列表</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">商品类型信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listcate.html');">商品类型信息列表</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">商品信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listgoods.html');">商品信息列表</a>
                                        <a href="javascript:page('chartgoods.html');">商品分类销售统计</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">订单信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listorders.html');">订单信息列表</a>
                                        <a href="javascript:page('chartorders.html');">订单信息统计</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">用户评价信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listtopic.html');">用户评价信息列表</a>
                                        <a href="javascript:page('charttopic.html');">订单评价信息统计</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="javaex-menu-item">
                                <a href="javascript:;">意见反馈信息管理<i class="icon-angle-down"></i></a>
                                <ul>
                                    <li>
                                        <a href="javascript:page('listcomplains.html');">意见反馈信息列表</a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!--iframe载入内容-->
        <div class="javaex-markdown">
            <iframe id="page" src="welcome.html"></iframe>
        </div>
    </div>

    <script type="text/javascript" src="assets/javaex/pc/lib/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="assets/javaex/pc/js/javaex.min.js"></script>
    <script type="text/javascript" src="assets/javaex/pc/js/javaex-formVerify.js"></script>
    <script type="text/javascript" src="assets/layui/layui.js"></script>
    <script type="text/javascript" src="assets/js/xadmin.js"></script>
    <script type="text/javascript">
        $('#editpwd').click(function() {
            xadmin.open('修改密码', 'editpwd.html', 600, 400);
        });

        $('#exit').click(function() {
            if (window.confirm('确定要退出吗？')) {
                sessionStorage.clear(); // 删除sesstion数据
                window.location.href = 'index.html';
            }
        });

        $(window).load(function() {
            if (sessionStorage.getItem('adminname') == null) {
                window.location.href = 'index.html';
            }
            $('#adminname').text(sessionStorage.getItem('adminname'));
            $('#role').text(sessionStorage.getItem('role'));
        });

        javaex.loading();
        var hightUrl = "";
        javaex.menu({
            id: "menu",
            isAutoSelected: true,
            url: hightUrl
        });
        $(function() {
            setMenuHeight();
        });

        function setMenuHeight() {
            var height = document.documentElement.clientHeight - $("#javaex-toc").offset().top;
            height = height - 10;
            $("#javaex-toc").css("height", height + "px");
        };

        function page(url) {
            $("#page").attr("src", url);
        };
    </script>
</body>
<!---->
</html>


